
#include <exception>


//failed to receive a recognized acknowledgement from the server
class FailedToReceiveAcknowledgeException
{
public:
	FailedToReceiveAcknowledgeException(char* ack)
		:_ack(ack)
	{}
	char* message()
	{
		return _ack;
	}
private:
	char* _ack;
};


class ConnectionException
{
public:
	ConnectionException(char* msg)
		:_msg(msg)
	{}
	char* message()
	{
		return _msg;
	}
private:
	char* _msg;
};
